package com.buba.personnel.service.impl;

import com.buba.personnel.dao.DepartInfoDao;
import com.buba.personnel.service.DepartInfoService;
import com.buba.pojo.DepartInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DepartInfoServiceImpl implements DepartInfoService {
    /**
     * 查询部门信息
     * @return
     */
    @Autowired
    private DepartInfoDao departInfoDao;
    @Override

    public List<DepartInfo> selDepartInfo() {
        return departInfoDao.selDepartInfo();
    }
}
